package top.easycode.app.controller.service.dto.req;

import top.easycode.app.common.BaseReq;

import javax.validation.constraints.NotNull;

/**
 * Created by hujun on 2017\9\30 0030.
 */
public class UserLoginReq extends BaseReq{
    @NotNull(message = "登录账号不能为空")
    private String name;
    @NotNull(message = "登录密码不能为空")
    private String password;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
